<%--@elvariable id="contractor" type="com.weitu.contractor.entity.ContractorInfo"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<!doctype html>
<html lang="zh">
<head>
    <title>承包商信息编辑</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/contractor/contractorInfo/edit.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">
    <div class="information-title">
        <p>基本信息</p>
        <a class="panel-down" href="javascript:void(0)">
            <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
        </a>
    </div>
    <div class="cuttle">
        <form id="form1" method="POST">
            <div>
                <div class="form_one">
                    <label class="lable-style">承包商名称:</label>
                    <input name="name" type="text" class="easyui-textbox" value="${contractor.name}" data-options="required:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">承包商代码:</label>
                    <input name="code" type="text" class="easyui-textbox" value="${contractor.code}" data-options="required:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">承包商全称:</label>
                    <input name="fullName" type="text" class="easyui-textbox" value="${contractor.fullName}" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">英文名称:</label>
                    <input name="englishName" type="text" class="easyui-textbox" value="${contractor.englishName}" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">地址:</label>
                    <input name="address" type="text" class="easyui-textbox" value="${contractor.address}" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">邮政编码:</label>
                    <input name="postCode" type="text" class="easyui-textbox" data-options="validType:'postCode'" value="${contractor.postCode}" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">税号/社会信用代码:</label>
                    <input name="faxId" type="text" class="easyui-textbox" value="${contractor.faxId}" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">注册地址:</label>
                    <input name="registerAddress" type="text" class="easyui-textbox" value="${contractor.registerAddress}" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">国家/地区:</label>
                    <input id="country" name="countryId" type="text" value="${contractor.countryId}" style="width: 240px;">
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">省市:</label>
                    <input id="province" name="provinceId" type="text" value="${contractor.provinceId}" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">城市:</label>
                    <input id="city" name="cityId" type="text" value="${contractor.cityId}" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">区县:</label>
                    <input id="county" name="countyId" type="text" value="${contractor.countyId}" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">电话号码:</label>
                    <input name="telephone" type="text" class="easyui-textbox" value="${contractor.telephone}" style="width: 240px;"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">语种:</label>
                    <input name="language" class="easyui-textbox" value="${contractor.language}" style="width: 240px;"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">是否启用:</label>
                    <select name="useState" class="easyui-combobox" data-options="editable:false" style="width: 240px;">
                        <c:if test="${contractor.useState==0}">
                            <option value="1">已启用</option>
                            <option selected="selected" value="0">未启用</option>
                        </c:if>
                        <c:if test="${contractor.useState==1}">
                            <option selected="selected" value="1">已启用</option>
                            <option value="0">未启用</option>
                        </c:if>
                    </select>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two">
                    <label class="lable-style">备注:</label>
                    <input name="remarks" type="text" class="easyui-textbox" value="${contractor.remarks}" data-options="multiline:true" style="height: 60px;width: 600px;"/>
                    <input name="id" type="hidden" class="hide" value="${param.id}">
                    <input name="uploadUserId" type="hidden" class="hide" value="${sessionScope.loginUser.id}">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>证书信息</p>
        <a class="panel-down" href="javascript:void(0)">
            <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
        </a>
    </div>
    <div class="enclosure">
        <a id="dg1_btn_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;">添加</a>
        <table id="dg1"></table>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>业务资质</p>
        <a class="panel-down" href="javascript:void(0)">
            <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
        </a>
    </div>
    <div class="enclosure">
        <a id="dg2_btn_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;">添加</a>
        <table id="dg2"></table>
    </div>
</div>
</body>
</html>
